﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyLib;
using System.Text;
using System.Data;


namespace Portal
{
    public partial class ReportForms : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
        }

        void DataBind()
        {
            StringBuilder StrSQL = new StringBuilder();
            StrSQL.AppendFormat(@"select c.cnname,c.ext01 from com_resource c");
            DataTable dt = DataAccess.Instance("BizDB").ExecuteDataTable(StrSQL.ToString());
            ReportRepeater.DataSource = dt;
            ReportRepeater.DataBind();
        }
    }
}